package com.lw.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "iwater")
public class IWater {
    private String url;
    private String userName;
    private String userPass;
    private String waterLogging;

    private String musicUserName; //气象客户端账号
    private String musicPassword;   //气象客户端密码
    private String musicWarnInfoUrl;//气象预警地址

    private boolean enableEncrypt; //是否加密返回数据

    public boolean isEnableEncrypt() {
        return enableEncrypt;
    }

    public void setEnableEncrypt(boolean enableEncrypt) {
        this.enableEncrypt = enableEncrypt;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPass() {
        return userPass;
    }

    public void setUserPass(String userPass) {
        this.userPass = userPass;
    }

    public String getWaterLogging() {
        return waterLogging;
    }

    public void setWaterLogging(String waterLogging) {
        this.waterLogging = waterLogging;
    }

    public String getMusicUserName() {
        return musicUserName;
    }

    public void setMusicUserName(String musicUserName) {
        this.musicUserName = musicUserName;
    }

    public String getMusicPassword() {
        return musicPassword;
    }

    public void setMusicPassword(String musicPassword) {
        this.musicPassword = musicPassword;
    }

    public String getMusicWarnInfoUrl() {
        return musicWarnInfoUrl;
    }

    public void setMusicWarnInfoUrl(String musicWarnInfoUrl) {
        this.musicWarnInfoUrl = musicWarnInfoUrl;
    }
}
